#include <errno.h>
#include <netinet/in.h>
#include <pthread.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>

#include "misc.cpp"

void leech(struct tracker t, struct multiString s);
void seed(struct tracker t, struct multiString s);
void *servePage(struct tracker t);
void tracker(FILE *out);
void trackerRead(struct tracker t, char *buffer);
void trackerWrite(struct tracker t, char *buffer);
